package com.xiaodu.acer.phoneplay.ui.fragment;

import com.xiaodu.acer.phoneplay.presenter.AppInfoPresenter;
import com.xiaodu.acer.phoneplay.ui.adapter.AppInfoAdapter;
import com.xiaodu.acer.phoneplay.ui.base.BaseAppInfoFragment;


/**
 * 热门应用页面
 */
public class HotAppFragment extends BaseAppInfoFragment {


    @Override
    protected int type() {
        return AppInfoPresenter.HOT_APP_LIST;
    }

    @Override
    public AppInfoAdapter buildAdapter() {
        return AppInfoAdapter.builder()
                .showPosition( true )
                .showBrief( false )
                .showCategoryName( true )
                .rxDownload( mRxDownload )
                .build();
    }


}
